#include "htmlcontent.h"
#include <stdio.h>

void HtmlContent::setFileName(const char * File){
	FileName = File;
}

void HtmlContent::setGetQuery(const char *){

}

void HtmlContent::setPostQuery(const char *){

}

std::string HtmlContent::getResponse(){
	FILE *P = fopen(FileName , "r");
	char buf[1024];
	std::string S;
	while (fgets(buf, 1023, P)) {
		S += buf;
	}
	fclose(P);
	return S;
}
